Because we don't have a dock or panel to minimize to, the `minimize`
shortcut was renamed to `hide` a long time ago.
Likewise, `unmaximize` appears as `restore` in keyboard shortcuts.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4088
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1834>
let item;
- item = this.addAction(_("Minimize"), () => {
+ item = this.addAction(_('Hide'), () => {
window.minimize();
});
if (!window.can_minimize())
item.setSensitive(false);
if (window.get_maximized()) {
- item = this.addAction(_("Unmaximize"), () => {
+ item = this.addAction(_('Restore'), () => {
window.unmaximize(Meta.MaximizeFlags.BOTH);
});
} else {